$Status =
http.Get2File("<URL>","<Filename>")
To get the specific web page into a file.
Parameters
<URL>
Address of the specified resource in the internet.
<Filename>
The file to which the web page has to be loaded.
Return Value
On success returns the value 1, otherwise 0.
Example
-
$Status = http.Get2File("http://www.google.com", "data.htm")
- The web page for Google is saved in the HTML format with file name as data.htm.